LR 16 Click Example.
Description
This example demonstrates the use of LR 16 Click board by showing the communication between two Click boards configured in P2P network mode.
The demo application is composed of two sections :
Application Init
Initializes the driver and logger.
Application Task
Application task is split in few stages:
- LR16_POWER_UP: Powers up the device, performs a device factory reset and reads system information.
- LR16_CONFIG_EXAMPLE: Configures device for the LoRa P2P network mode.
- LR16_EXAMPLE: Performs a LoRa P2P example by exchanging messages with another LR 16 Click board.
Additional Function
- static void lr16_clear_app_buf ( void )
- static void lr16_log_app_buf ( void )
- static err_t lr16_process ( lr16_t *ctx )
- static err_t lr16_read_response ( lr16_t *ctx, uint8_t *rsp )
- static err_t lr16_power_up ( lr16_t *ctx )
- static err_t lr16_config_example ( lr16_t *ctx )
- static err_t lr16_example ( lr16_t *ctx )
- Author
- Stefan Filipovic